package com.guigu.tms.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName:PageResult
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/10/26:10:36 星期二
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@ApiModel(value = "分页结果返回集")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    @ApiModelProperty(name = "total", value = "总记录数")
    private Long total;
    @ApiModelProperty(name = "rows", value = "记录")
    private T rows;
}
